package rs.dalao.syc.index.pojo.entity;/*
 *   @author:Casin
 *   @date:2023/8/4
 *   @code:
 */

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("百科全书")
public class Encyclopedia  implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String title;
    private Long author;
    private String imgUrl;
    private String content;
    private String brief;
    private String reference;
    private Integer viewCount;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtModified;
}
